<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="AJTree.js">
</script>
<script type="text/javascript">
var tempjson=[{
				id:'0',name:'root',isLeaf:false,sub:[{
						id:'01',name:'root01',isLeaf:true
                  		},{
                		id:'02',name:'root02',isLeaf:false,sub:[{
                			id:'031',name:'root031',isLeaf:true
                     		
                    		}]
                 		},{
                 		id:'03',name:'root03',isLeaf:true
                        }
                 		]
              }]
var tree = new AJTree({showdiv:'treediv',imgsdir:'imgs/test',isAjax:false,isCheckbox:false});

</script>
</head>
<body onload="tree.load(tempjson);">
<div id="treediv">

</div>
</body>
</html>